package cc.mrbird.lsSubmission.service;

import cc.mrbird.lsSubmission.domain.LsPullDown;
import cc.mrbird.lsSubmission.domain.LsSubmissionEntry;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface LsSubmissionService {

    /**
     * 保存投诉信息
     * @param
     */
    /*void saveSubmissionEntry(SubmissionEntry submissionEntry);*/

    void saveLsSubmissionEntry(LsSubmissionEntry lsSubmissionEntry);

    List<LsSubmissionEntry> getLsSubmissionEntryList(LsSubmissionEntry lsSubmissionEntry);

    LsSubmissionEntry getByLsSubmissionId(LsSubmissionEntry lsSubmissionEntry);

    void updateLsSubmission (LsSubmissionEntry submissionEntry);

    List<LsPullDown> FindLsPullDown(LsPullDown pullDown);

    void addLsPullDown(LsPullDown pullDown );

    void cancelLsSubmission(LsSubmissionEntry submissionEntry );

    boolean lsBatchImport(String fileName, MultipartFile file) throws Exception;

    LsPullDown saveLsPullDown(LsPullDown pullDown);

    List<LsSubmissionEntry> getLsSubmissionEntryExportExcel(LsSubmissionEntry submissionEntry);

    String findId();

    LsSubmissionEntry getLsSubmissionEntry(LsSubmissionEntry submissionEntry);

    //统计优先处理数量
    String sumFirst();
    String sumFirst1();
}
